/* start .main-section */
@media screen{
    .main-section{
        min-height:calc(100vh - 82px - 104px)
    }
}

@media print{
    a{
        text-decoration: none !important;;
    }
}

@media screen and (max-width: 480px){
    .hide-in-phone{
        display: none;
    }
}

a:hover{
    text-decoration: none;
}

/* مؤشر الماوس */
.cursor-pointer{
    cursor: pointer;
}

/* اخفاء اسهم الزيادة والنقصان */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
}
input[type=number] {
    /* Set some optional styles for the input field */
    appearance: none;
    -moz-appearance: textfield;
}

/* off canvas */
.mm-slideout { z-index:auto;}

/* balloon */
.balloon-info{
    --balloon-color: #17a2b8!important;
    --balloon-font-size: 16px;
}

/* user photo */
.personal-image {
    text-align: center;
}
.personal-image input[type="file"] {
    display: none;
}
.personal-figure {
    position: relative;
    width: 150px;
    height: 150px;
}
.personal-avatar {
    cursor: pointer;
    width: 150px;
    height: 150px;
    box-sizing: border-box;
    border-radius: 100%;
    border: 2px solid transparent;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
    transition: all ease-in-out .3s;
}
.personal-avatar:hover {
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.5);
}
.personal-figcaption {
    cursor: pointer;
    position: absolute;
    top: 0px;
    width: inherit;
    height: inherit;
    border-radius: 100%;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0);
    transition: all ease-in-out .3s;
}
.personal-figcaption:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, .5);
}
.personal-figcaption > img {
    margin-top: 70px;
    width: 50px;
    height: 50px;
}

/* start to top scroll button */
#scroll-top{
    width: 40px;
    height: 40px;
    color: #ffc107;
    text-align: center;
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 100;
    border: 3px solid #ffc107;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.5;
    display: none;
    
}
#scroll-top:hover{
    opacity: 1;
    background-color: #003a72;
    transition: all .2s ease-in-out;
}

/* end to top scroll button */


/* start my checkbox  الخاص بالدزاين الجميل لصندوق التحقق*/
.checkbox-wrapper-51 input[type="checkbox"] {
    visibility: hidden;
    display: none;
}
.checkbox-wrapper-51 .toggle {
    position: relative;
    display: block;
    width: 42px;
    height: 24px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transform: translate3d(0, 0, 0);
}
.checkbox-wrapper-51 .toggle:before {
    content: "";
    position: relative;
    top: 1px;
    left: 1px;
    width: 40px;
    height: 22px;
    display: block;
    background: #c8ccd4;
    border-radius: 12px;
    transition: background 0.2s ease;
}
.checkbox-wrapper-51 .toggle span {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    display: block;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(154,153,153,0.75);
    transition: all 0.2s ease;
}
.checkbox-wrapper-51 .toggle span svg {
    margin: 7px;
    fill: none;
}
.checkbox-wrapper-51 .toggle span svg path {
    stroke: #c8ccd4;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 24;
    stroke-dashoffset: 0;
    transition: all 0.5s linear;
}
.checkbox-wrapper-51 input[type="checkbox"]:checked + .toggle:before {
    background: #52d66b;
}
.checkbox-wrapper-51 input[type="checkbox"]:checked + .toggle span {
    transform: translateX(18px);
}
.checkbox-wrapper-51 input[type="checkbox"]:checked + .toggle span path {
    stroke: #52d66b;
    stroke-dasharray: 25;
    stroke-dashoffset: 25;
}
/* end my checkbox */

/* general */

/* اضهار كلمة المرور */
.show-password{
    position: relative;
}
.show-password a{
    position: absolute;
    top: 37px;
    left: 10px;
    font-weight: bold;
    color: #102e5e;
}
/* نهاية اضهار كلمة المرور */

/* start scroll bar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}
/* end scroll bar */

.rotate-180{
    transform: rotate(180deg);
}

.main-page-nav-icon-col{
    background-color: white;
    border: 3px  #ffc107;
    min-height: 100px;
    text-align: center;
}
.main-page-nav-icon-col a{
    font-size: 20px;
}

/* start footer social-media row */
.footer .social a{
    font-size: 26px;
    font-weight: bold;
    color: #ffc107;
    margin: 0px 2px 2px;
    text-decoration: none;
    display: inline-block;
    width: 2em;
    height: 2em;
    line-height: 1.7em;
    border: 3px solid #ffc107;
    transition: all .2s ease-in-out;
    border-radius: 50%;
}

.footer .social a:hover{
    background-color: #ffc107;
    color: white;
    border-radius: 4px;
}
/* end footer social-media row */

.main-color{
    color: #003a72;
}
.main-color-h:hover{
    color: #003a72;
    transition: all .2s ease-in-out;
}

.main-bg-color{
    background-color: #003a72;
}
.main-bg-color-h:hover{
    background-color: #003a72 !important;
    transition: all .2s ease-in-out;
}

.second-color{
    color: #ffc107!important;
}
.second-color-h:hover{
    color: #ffc107!important;
    transition: all .2s ease-in-out;
}
.white-color-h:hover{
    color: white!important;
    transition: all .2s ease-in-out;
}

/* end general */

/* start select2 lyp */
.select2-container{
    display: block;
    color: #444;
}
.select2-results__options{
    text-align: right!important;
}
.select2-selection{
    min-height: 37px!important;
}
.select2-selection__rendered{
    line-height: 36px!important;
}
.select2-search__field{
    min-height: 28px;
}
/* end select2 lyp */

/* Start tosatr js */
/* toast-success */
.toast-success .toast-progress {
    background-color: white;
    opacity: 1!important;
}

.toast-success{
    text-align: right;
    font-weight: bold;
    font-size: 16px;
    background-color: #003a72!important;
    margin-top: 45px!important;
}
/* toast-error */
.toast-error .toast-progress {
    background-color: white;
    opacity: 1!important;
}

.toast-error{
    text-align: right;
    font-weight: bold;
    font-size: 16px;
    width: 340px!important;
    margin-top: 45px!important;
}
/* toast-warning */
.toast-info .toast-progress {
    background-color: white;
    opacity: 1!important;
}

.toast-info{
    text-align: right;
    font-weight: bold;
    font-size: 16px;
    width: 340px!important;
    margin-top: 45px!important;
}
/* end tosatr js */

/* start my-data-table */
.table-layer{
    z-index: 2;
    opacity: 0.4;
}
.table-responsive{
    white-space: nowrap;
}
thead tr th{
    background-color: #003a72!important;
    
}
td, th{
    text-align: center!important;
    vertical-align: middle!important;
}
.td-width-75-150{
    min-width:75px;
    max-width:150px;
    white-space: normal;
}
.td-width-75-175-bw{
    min-width:75px;
    max-width:200px;
    white-space: normal;
    word-wrap: break-word;
}
.td-width-170-200{
    min-width:170px;
    max-width:200px;
    white-space: normal;
}

/* end my-data-table */

/* end .main-section */

/* Start Navbar */

.main-nav{
    background-color: #003a72;
}
.main-nav a{
    color: #ffc107;
    text-decoration: none;
}
.main-nav a:hover{
    color: #fff;
    transition-duration: 0.2s;
}

.navbar-nav .main-nav a{
    font-weight: bold;
    text-align: right;
}
.navbar-nav .main-nav a:hover{
    background-color: #003a72;
    color: #fff;
    transition: 0.2s;
}

/* End Navbar */

/* تأثير الانيميشن */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.zoomIn {
animation-name: zoomIn;
animation-duration: 1s;
}
/* نهاية تأثير الانيميشن */

.z-index-1{
    z-index: 1;
}
.z-index-2{
    z-index: 2;
}



/* start dna */
.Learnnewcoding1 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    transform: rotateZ(-90deg);
}
.Learnnewcoding1-small {
    transform: rotateZ(0deg);
}

@keyframes rotate {
    0% {
        transform: rotateX(0deg);
    }
    100% {
        transform: rotateX(360deg);
    }
}

.dna-code {
    /*line*/
    position: relative;
    width: 1px;
    height: 100px;
    border: 1px solid #ffc107;
    box-shadow: 0 0 15px #05fbea;
    background: transparent;
    margin: 0px 10px;
    animation: rotate 4s linear infinite;
}

.dna-code::before {
    /*top dot*/
    content: '';
    position: absolute;
    top: -2px;
    left: -5px;
    width: 10px;
    height: 10px;
    background: #ff1c1c;
    border-radius: 50%;
    box-shadow: 0 0 15px #f7c2bb;
}

.dna-code::after {
    /*bottom dot*/
    content: '';
    position: absolute;
    bottom: -2px;
    left: -5px;
    width: 10px;
    height: 10px;
    background: #003a72;
    border-radius: 50%;
    box-shadow: 0 0 12px #003a72;
}

.dna-code:nth-child(1) {
    animation-delay: -0.15s;
}

.dna-code:nth-child(2) {
    animation-delay: -0.3s;
}

.dna-code:nth-child(3) {
    animation-delay: -0.45s;
}

.dna-code:nth-child(4) {
    animation-delay: -0.6s;
}

.dna-code:nth-child(5) {
    animation-delay: -0.75s;
}

.dna-code:nth-child(6) {
    animation-delay: -0.9s;
}

.dna-code:nth-child(7) {
    animation-delay: -1.05s;
}

.dna-code:nth-child(8) {
    animation-delay: -1.2s;
}

.dna-code:nth-child(9) {
    animation-delay: -1.35s;
}

.dna-code:nth-child(10) {
    animation-delay: -1.5s;
}

.dna-code:nth-child(11) {
    animation-delay: -1.65s;
}

.dna-code:nth-child(12) {
    animation-delay: -1.8s;
}

.dna-code:nth-child(13) {
    animation-delay: -1.95s;
}

.dna-code:nth-child(14) {
    animation-delay: -2.1s;
}

.dna-code:nth-child(15) {
    animation-delay: -2.25s;
}

.dna-code:nth-child(16) {
    animation-delay: -2.3s;
}
.dna-code:nth-child(17) {
    animation-delay: -2.45s;
}
.dna-code:nth-child(18) {
    animation-delay: -2.6s;
}
.dna-code:nth-child(19) {
    animation-delay: -2.75s;
}
.dna-code:nth-child(20) {
    animation-delay: -2.9s;
}

.dna-code:nth-child(21) {
    animation-delay: -3.05s;
}

.dna-code:nth-child(22) {
    animation-delay: -3.20s;
}

.dna-code:nth-child(23) {
    animation-delay: -3.35s;
}

.dna-code:nth-child(24) {
    animation-delay: -3.50s;
}

.dna-code:nth-child(25) {
    animation-delay: -3.65s;
}

.dna-code:nth-child(26) {
    animation-delay: -3.80s;
}
.dna-code:nth-child(27) {
    animation-delay: -3.95s;
}
.dna-code:nth-child(28) {
    animation-delay: -4.1s;
}
.dna-code:nth-child(29) {
    animation-delay: -4.25s;
}
.dna-code:nth-child(30) {
    animation-delay: -4.40s;
}

.dna-code:nth-child(31) {
    animation-delay: -4.55s;
}

.dna-code:nth-child(32) {
    animation-delay: -4.70s;
}

.dna-code:nth-child(33) {
    animation-delay: -4.85s;
}

.dna-code:nth-child(34) {
    animation-delay: -5s;
}

.dna-code:nth-child(35) {
    animation-delay: -5.15s;
}

.dna-code:nth-child(36) {
    animation-delay: -5.3s;
}
.dna-code:nth-child(37) {
    animation-delay: -5.45s;
}
.dna-code:nth-child(38) {
    animation-delay: -5.6s;
}
.dna-code:nth-child(39) {
    animation-delay: -5.75s;
}
.dna-code:nth-child(40) {
    animation-delay: -5.9s;
}
/* end dna */